package com.muyu.day3zy.domain;

import com.muyu.common.core.annotation.Excel;
import com.muyu.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * @ClassName LadderInfo
 * @Description 描述
 * @Author ShiYu.Cui
 * @Date 2024/3/24 15:36
 */
public class LadderInfo extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 阶梯价格id */
    @Excel(name = "阶梯价格id", cellType = Excel.ColumnType.NUMERIC)
    private Long id;

    /** 数量 */
    @Excel(name = "数量")
    private Integer num;

    /** 折扣 */
    @Excel(name = "折扣")
    private Integer discount;

    /** 优惠方式id */
    @Excel(name = "优惠方式id")
    private Integer discountsId;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public Integer getDiscount() {
        return discount;
    }

    public void setDiscount(Integer discount) {
        this.discount = discount;
    }

    public Integer getDiscountsId() {
        return discountsId;
    }

    public void setDiscountsId(Integer discountsId) {
        this.discountsId = discountsId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("num", getNum())
                .append("discount", getDiscount())
                .append("discountsId", getDiscountsId())
                .toString();
    }
}
